#ifndef LABEL_H
#define LABEL_H

#include <QLabel>
class QPaintEvent;
class QPixmap;
namespace Ui {
class Label;
}

class Label : public QLabel
{
    Q_OBJECT

public:
    explicit Label(QString strw,QPixmap p,QLabel *parent = 0);
    ~Label();
    void paintEvent(QPaintEvent *event);

private:
    QString text;
    QPixmap p_wh;
};

#endif // LABEL_H
